package com.ctbu.tourism.service;

import com.ctbu.tourism.api.SeniorityAPI;
import com.ctbu.tourism.entity.Seniority;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author xiaolen
 * time:2018/4/12 14:56
 */
@Service
public class SeniorityService {
    @Autowired
    private SeniorityAPI seniorityAPI;

    public List<Seniority> getSeniorityIntegral(){return seniorityAPI.getSeniorityIntegral();}

    public List<Seniority> getSeniorityNewnumber(){return seniorityAPI.getSeniorityNewnumber();}

    public List<Seniority> getSenioritySumnumber(){return seniorityAPI.getSenioritySumnumber();}


}
